performs a linear transformation on the original data values.
Suppose that minX
and maxX
are the minimum and maximum of feature X.
We would like to map interval [minX, maxX]
into a new interval
[new_minX, new_maxX]
. Consequently, every value v
from the original
interval will be mapped into value new_v
following formula:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grid_real), | intent(in) | :: | gridIn | |||
type(grid_real), | intent(inout) | :: | gridOut | |||
real(kind=float), | intent(in), | optional | :: | min | ||
real(kind=float), | intent(in), | optional | :: | max |